home *** CD-ROM | disk | FTP | other *** search
/ Champak 132 (Alt) / Vol 132.iso / games / hewitt.swf / scripts / DefineButton2_1296 / BUTTONCONDACTION on(press).as
Encoding:
Text File  |  2011-06-09  |  2.1 KB  |  56 lines

  1. on(press){
  2.    if(_root.inven._currentframe == 1)
  3.    {
  4.       if(_root.micon._currentframe == 40 && _root.range == true)
  5.       {
  6.          _root.next_dis1 = 2;
  7.          _root.next_txt1 = "Hey, that\'s a great idea.  I\'ll have a girlfriend in no time...  in JAIL!  ARE YOU NUTS?";
  8.       }
  9.       else if(_root.micon._currentframe == 41 && _root.range == true)
  10.       {
  11.          _root.next_dis1 = 2;
  12.          _root.next_txt1 = "I don\'t think I want to make Anastasia cry.";
  13.       }
  14.       if(_root.micon._currentframe == 1 && _root.range == true)
  15.       {
  16.          _root.next_dis1 = 2;
  17.          _root.next_txt1 = "I heard if you touch her, you turn into a pillar of salt.  Silly rumors...  IΓÇÖm still not going to touch her though.";
  18.       }
  19.       if(_root.micon._currentframe == 2)
  20.       {
  21.          _root.next_dis1 = 2;
  22.          _root.next_txt1 = "I believe her... it\'s name is Anastasia.";
  23.       }
  24.       if(_root.micon._currentframe == 4 && _root.range == true && _root.txt_number <= 1)
  25.       {
  26.          if(_root.talk2 == 0)
  27.          {
  28.             _root.talk2 = 1;
  29.             _root.txt_number = 3;
  30.             _root.next_dis3 = 5;
  31.             _root.di3 = 90;
  32.             _root.next_txt3 = "Is it raining outside?  Oh how I HATE rain. AND Water.  Anything thatΓÇÖs wet.  Say no to H2O.";
  33.             _root.next_txt2 = "How do you survive without water?";
  34.             _root.di2 = 91;
  35.             _root.next_dis2 = 2;
  36.             _root.next_txt1 = "...";
  37.             _root.di1 = 93;
  38.             _root.next_dis1 = 5;
  39.          }
  40.          else if(_root.talk2 == 1)
  41.          {
  42.             _root.txt_number = 3;
  43.             _root.next_dis3 = 5;
  44.             _root.di3 = 92;
  45.             _root.next_txt3 = "Oh heavens and gates of darkness open for ... Meek Ollie ... and for the souls of the gathering";
  46.             _root.next_txt2 = "...";
  47.             _root.di2 = 93;
  48.             _root.next_dis2 = 5;
  49.             _root.next_txt1 = "Maybe it would be best if I just left ya alone.";
  50.             _root.di1 = 94;
  51.             _root.next_dis1 = 2;
  52.          }
  53.       }
  54.    }
  55. }
  56.